package com.wlq.demo.entity;

import cn.hutool.core.clone.CloneSupport;
import com.wlq.demo.anno.ForUpdate;
import lombok.Data;

/**
 * @author csb
 * @description: TODO
 * @date 2023/3/23 17:03
 */
@Data
public class Student extends CloneSupport<Student> {

//    @ForUpdate(fieldName = "名称")
    private String name;

//    @ForUpdate(fieldName = "性别")
    private String sex;

//    @ForUpdate(fieldName = "年龄")
    private int age;

    public Student() {
    }

    public Student(String name, String sex, int age) {
        this.name = name;
        this.sex = sex;
        this.age = age;
    }
}
